package com.quick.develop.flowable.excption;


import com.quick.develop.framework.common.exception.ErrorCode;

/**
 * @author junyuan.liu
 * @description: TODO
 * @date 2022/5/17 14:15
 */
public class BpmException extends BaseException {

    private static final long serialVersionUID = 5904901536233259079L;

    public BpmException(String code, Object[] args) {
        super(code, null, null);
    }

    public BpmException(String defaultMessage) {
        super("bpm", defaultMessage, null);
    }

    public BpmException(ErrorCode e) {
        super(e.getCode() + "", null, e.getMsg());
    }

}
